package com.adinnet.core.redis;

public class RedisConstant {

    public final static String SEND_REGISTER_MESSAGE_MOBILE_KEY = "zhiboyuan_Send_Register_Msg_Mobile_";//手机注册 同一手机号发送次数缓存 Send_Msg_Mobile_{手机号}

    public final static String PATIENT_LOGIN_KEY = "zhiboyuan_patient_login_";//app端用户token

    public final static int TOKEN_SURVIVE_TIME = 60 * 60 * 24 * 30;//登录过期时间 30天

    //public final static int TOKEN_SURVIVE_TIME = 60 * 30;//登录过期时间 30分钟

    public final static String PATIENT_LOGIN_VERIFYCODE = "zhiboyuan_patient_login_verifycode_";//app端发送验证码

    public final static int VERIFYCODE_TIME = 60 * 5;//验证码过期时间  5分钟

    public final static String PROVINCE_KEY = "zhiboyuan_province";//省市区存储key

    public final static int PROVINCE_KEY_TIME_OUT = 60 * 60 * 24 * 30;//省市区存储过期时间

    public final static String PWD = "zhiboyuan_pwd_";//输入密码错误次数

    //public final static int PWD_TIME = 60 * 60 * 24;//输入密码错误次数过期时间 1天
    public final static int PWD_TIME = 60 * 10;//输入密码错误次数过期时间 10分钟

}
